from flask import Flask


def creatApp():
    app = Flask(__name__)
    addBlueView(app)
    return app



def addBlueView(app):
    from .news import blue_app
    app.register_blueprint(blue_app)
